package com.hnevc.androidui6;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

public class ActivityExample extends AppCompatActivity {
    private static final String TAG = "ActivityExample";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_example);

        Intent intent = getIntent();
        String name = intent.getStringExtra("username");
        Log.e(TAG, "onCreate: "+name );
    }
}
